using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using NTTHAO.Web.BL.CommonPage;
using NTTHAO.CommonWeb;

public partial class Sites_Vigor_Webparts_Common_Header : NTTHAO.CommonWeb.CommonUserControl
{
    public int _MID = 1;
    public int _SID = -1;
    public CommonPageGroup _Group = null;

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (Request.QueryString["m"] != null)
            {
                Int32.TryParse(Request.QueryString["m"].Trim(), out _MID);
            }
            if (Request.QueryString["s"] != null)
            {
                Int32.TryParse(Request.QueryString["s"].Trim(), out _SID);
            }
             int siteID = WebGlobal.GetSite().ID;
            int langID = LanguageUtility.GetLanguageID();
            _Group = CommonPageGroup.GetDefaultGroup(siteID, langID);
        }
        catch { }
    }
}
